<?php
/**
 * licenses : MIT
 * creatTime: 2020/5/13
 * author : weblinuxgame
 * filename: User.php
 */

namespace App\Api\Modules\User\Schemas;

use OpenApi\Annotations as OA;

/**
 * @OA\Schema(
 *     title="UserModel",
 *     description="用户登陆数据模型-data.user",
 * )
 * Class User
 * @package App\Api\User\Schemas
 */
class UserBase
{
    /**
     * @OA\Property(
     *     format="int64",
     *     description="用户ID",
     *     title="id",
     * )
     * @var int
     */
    public $id;

    /**
     * @OA\Property(
     *     format="string",
     *     description="用户名",
     *     title="username",
     * )
     * @var string
     */
    public $username;

    /**
     * @OA\Property(
     *     format="string",
     *     description="性别枚举值,(男,女,未知)",
     *     title="gender",
     * )
     * @var string
     */
    public $gender;

    /**
     * @OA\Property(
     *     format="int64",
     *     description="用户创建时间戳",
     *     title="createdAt",
     * )
     * @var int
     */
    public $createdAt;

    /**
     * @OA\Property(
     *     format="int64",
     *     description="用户更新时间戳",
     *     title="updatedAt",
     * )
     * @var int
     */
    public $updatedAt;

    /**
     * @OA\Property(
     *     format="string",
     *     description="用户对外唯一标识符,分享,或者其他外部活动使用",
     *     title="uuid",
     * )
     * @var string
     */
    public $uuid;


}
